arguments Return the ticket form field validate_ticket ST for ajax_validates Makes sure that the ticket submitted is legal. take_action Actually check the user's password. If it's right, log them in. Otherwise, throw an error. report_success