Added logout and sorted nurse list by name only on nurse index page.