pep8 changes in public/views
Added a proper secret key
Added hour and minute to constructors for Post