logout system

Repaired bug with logout from account.