On sem registration, data is written to students table and subjects table