Fixed blank login bug