some user debug
auth func