Added regex for password check