Optimized the query logic for fetching bottom users for , 

User Line Manager Hierarchy of the Logged-in User

Looping through each user's bottom users in the hierarchy, we now use the default MySQL function to fetch the bottom users' hierarchy, significantly reducing the complexity and improving performance.