Add new Event function on the login page