Student registration and corrosponding database issue fixed