basic infra is complete , only register method is tested successfuly