Fixes user_controller_spec and messages_controller_spec fails