resolved problem at login