login system with object oriented php