Fixed login render issue