removed redirection to login in main ctrl