centralized api access and created singleton that contains single user identity