updated gems and refactored users_controller_spec