fixed bug using wrong database facade, improved form elements

Signed-off-by: Alexander Book <redchrome@gmx.de>