App stores patterns of various users and authenticates them based on the pattern