changed bases table to access_points because it conflicted with active record Base class