added action for user authentication