Added TestUserDaoJdbc

Fixed bugs in UserDaoJdbc