user login and register complete