Fixed major bug that froze UI on login.