complete register user client logic mostly