simplified log in log out process by show/hide login on nav bar feature