input filtering and password hashing done