tests for user creation. Added validation for user to avoid blank passwo...

...rds and usernames'