update and fix

fix a bug : click edit my events and then the clandar was
disactive,change a variable name and fix it.
begin to compelete square function : now user can see other user's
public event but still can't do anything about it