updated the profile page, added errorchecking for images, removed some validation errors