Make currentUser available in views
Fix bug where all users are returned when not authenticated