added a home template and fixed the logout button