adds key to user model