added student registartion method