Completed the User.protype.save function, user
can be added from ui