added pin protection to login screen