Removed R_IDs and restricted access of users not logged in