once user logs in redirects to root page