Fixed broken login