Updated download photo
Update get photo
Modificated work with avatar