add helper method
User login authenticates through controller