fixed password changing and register