Convert mysql to mysqli (No more blank screens and login errors)