Database module supports more parameters with nicer syntax. Duplicate users is handeled. A check if a certain module is loaded. Moved form validation to the database module. Added licence.