improve the DB class
add validation class to validate user input
add the register page