refactored users_controller_spec, fixed authenticate method, and updated gems