Logout functionality

Added container to class, deleting and creating on logout.  clearing
databases and preferences