check for mimetype on avatar
changed alert text
Merge pull request #531 from WellingGuzman/image

check for mimetype on avatar