A simple PHP login class written using MySQLi (OO)