Added user class extension of database class