Added authenticate action for sessions controller