add users & login as a better way of doing the PRIVATE_DATA_KEY thing