moved addevent form creation and processing into one view function
fixed login
merge in Matt's changes