fix Register input type and user photo