registration validation done. left with javascript and some testing