separate profile photo from user class