step3 db manipulation, templates, 404, template url soft coded

Signed-off-by: bo <bo@bo-VirtualBox.(none)>