Changes self.user to key.user_id.