added redirect in homepage to user if logged in