Added endpoints to access tables