Updated login page to use MySQL