add database and user class