login fix and update