OOP login script with autloader