fix for logout redirection error, Related to #167

fix for logout redirection error, Related to #167 It's now showing a
message to login, it can be altered to redirect to some other page but
wanted to get rid of the redirection error.