add handler for event click to user avatar