login page redirecting improvement
angular stuff