Added option to display a logout button on a navigation bar during the lockscreen process and a delegate call when button pressed