Added twig template functions for login, logout andp profile
Made logout page work
Added a lot of ugly code - need to fix that soon