Refactor model user to fix Heroku load image.