fixed css and added a permission request