refactored helper methods into controllers for user auth and related views (e.g. nav)