added methods in UserDao and created UserBean.java