edited username and password constraints