title is required now.

placed the functions for event saving into one function. before running
those lines and returning to the homepage,  the title field must not be
empty or contain only white space