Changed UserModel into a singleton