Auth check in categories

Prevents a nil class error and prompts users to log in if not otherwise