adding the validation of reg/login