Add method to get authorized user id in Auth lib