some auth and pin close on post