Added validation for non username and password data before filling textfields