added postmeta and signups db class, code formatting