Added flask modules to import

Added app and request because decorator and compare functions does not work