fixed bugs and added event creation functionality with auto_complete. TODO: autocomplete partial