Added logout and root views.