Base template added; tests for slugified post url; login/logout implemented