define the behavior of clicking email sign up button and log in button