Changed attach event call to give user, providerName and profile