fixed page not loading bug because of auth::check failing