basic registration and authentication done