Check for duplications when creating new student and add success and fail message