Showing avatar on login

When the user enters a valid email on the login like Google did some time ago, is there any problem to show the avatar?

Does make the experience better?

Is a there is any security risk?