Implemented redirections to login page