Object Oriented Php Login Register