Added dashboard template with logout mechanism