Added functions for creating events, modifying events and modifying profile.