change instance variable from user to user_api