1) Fixed update_profile
2) Changed "password" from type to password at register.php