solve login problems