refactored the functional tests
added unittesting on orms
Redirect after POST, and show all items in template