better layout styling
Added a password validator