added eventview action to controllerand editet eventsave action
added loginaction to the controller