user redirects to login when editing home if not logged in