minor bug fix in database.py
redirect main page home to summary
form action url set fixed