changes user.model for new syntax