style changes and pin validation