Fixing bug in get_user_for_token call