removed creation of a cookie for event, added reload of the page after login