validation logic complete for regirstration