fixed some ui threading issues for logging in