Added logout button and added target for the button