def METHOD_NAME(self):
    # check if is already signed in
    if self.signed_in_user is None:
        logger.info("user is not signed in. Will create a new user.")
        # create user if not exists
        user = user_management.create_user(self.email, self.username, self.password)
        self.user_id = user.uid
        # sign in user
        self.signed_in_user = user_management.sign_in_with_email_and_password(
            self.email, self.password
        )
        logger.info("Created a new user.")
    else:
        logger.info("user is already signed in.")
        pass