refactored private (after login) views:
* separated html from javascript - javascript that need python input kept in html (issue #36)
* cleaned double html headers and footers (issue #35)