Ensure that lastuser.init_app is called only once (by setting scope="module") and at the beginning (by setting autouse=True)