some changes to registration proccess