Fix signup page to also login automatically + logging out when db is reset