authentication and basic registration done.