allow user profile pic to accept .jpg and .png files