Fixed bug: signup + logout + signup = crash