Below is my code in my Spring repo for fetching the login name and related links name from the login table and link table. The user_vs_link table only contains the primary keys