//window.location.href = '/users/';
//console.log(window.location.href);
currLocation = window.top.location.href;
var temp = new Array();
	temp = currLocation.split('/');  //split URL
	var _root = temp[0]+'//'+temp[2]+'/';
	var _controller = temp[3];
//console.log(temp[4]);
//console.log(window);
if (temp[5] != 'login') {
	//console.log(temp);
	window.top.location.href = temp[0]+'//'+temp[2]+'/'+temp[3]+'/jbs/';
}