rough validations for events, user settings, and friend profiles in javascript are working