Fixed bug that duplicates previous event if a new event doesn't validate when saved.
Login validation updated