modify user model. add method for cheked user from db