mastered basic form/db handling