update the new model 'user' add some function to common