add key to User in database