merging
Added validation for register new and signup