I am writing a custom authorization and I have gotten the current user logged in but I want to check the current user branchid from StaffBranch model. This is the code.