fixed broken login