database connectivity

Database classes and UserDAO