An object oriented login and register system in PHP