fixing login static call