added some functions for the getting and fetching a user Id

In the future we might want to use this to make sure the user is
authed.