make it easier to get user id when checking authentication