Fixed edit error page so that it can now add events. Login functionality is complete.