removes loading spinner from homepage when not logged in and adds a message