fixed issue with send token to user