Remove checkuser function, use OOP instead