Added access control and made style changes