login module is finally working allright