Add username and password validation