Inserting username password to database n validating them in php