added join tables and read actions for subjects