complete changePassword & userInfo function in User model