Refactored to support reuse of logic across modules
full profile record creation and studentinfo check
logic to check status of registration (there is a bug with reloading the table if registration is successful)