Authentication logic and sliding bar