Website login bug fix