Fix permission stuff, add some styles