Fixed account creation message

Messages are no longer created with requests, use loadPageWithMessage() instead

Fixed logging out

Separated logging out from the ajax login handler