added logout method and refactor Page model to_soap method