added in event for submit button (which logs to the console)