Flask file upload with login also for menu.
More bugfixes.
Import fix