Porting account routes(and login template) to flask, writing cookie using flask and fixing inconsistent indenting in templates. yet to do: add session obj to context, port register template