Updated UserModel constructor