some progress on permission ui