version6 (login and registration)