Password and image upload bug fixes