Added redirect on login and signup pages for logged in user