logout option provided in the page that comes when some user who does not have publsiher role login to publisher
adding fix to log out handling properly
Applying Lahitu's patch for APPM-261.
Merge branch 'lahiru823-master'