Minor login bug fixed