config layout buttons by credential