changed the event password to string and put length constraints