Stop http request if not logged in