Fixed User::generate_token!