Added account management and logout