fixed issue with signup and auto sign in