Refactor login func -> class based LoginView
Refactor init
QFix urls import