added registers table and teacher & student definitions