Updated both Lecture and Homework submission API for logged in users to verify that work has not been submitted yet and that user is subscribed before allowing submission of work.