Added else statement to auth::check() and also got rid of opening for else statement