updated styles, added pages permissions, small fixes