Remove logout/previous in specific pages