correct evaluation of success/error message
addition search for course numbers