Updated user model and tested on front-end.