Added logout and download documents from the admin