Refactored a lot of code. About to implement some logic to make sure that no local cache shows for wrong user