store token and user id