[master] fixed the remember me option and corrected the image upload in the registration