Fix: Fixed data type validation for username and password