added new functions in UserDAO
changes