Login validation

(Validation started)