fix model and controller for user on server side