Implemented account switching