Adds appendText and deletePage
Getrights and logout
Adds bot out and showHeader and makes some conditions for them to execute