users login fix redirect