Add usernameand password validation