added db
Made tabbing through the registration form easier, fixed some minor errors in the database controller