added validation on profile pic type. now only images will be uploaded