updated first.sql and add.sql

proc_body: Changed the logic to find out if the course is already
enrolled by the student.