updated AddEvent

passing values into View_homework. view homework have not been created