Thrift server has to rely on cached values if possible because session may be in offline mode..
Adding a couple thrift RPC calls, check-in and check-out. Login should become an internal operation.