Added redirect of login page for already logged in users