redirecting to emails page from home, if user is logged in