attach the user to the token after login callback

when i was trying to login with facebook the token is created but it is not attached to the user