Simple class for handling user login, registration, verification etc. via sessions and a MySQL database