Supported checking if the same user already submitted current palindrome before + minor code refactoring