added ifExists to UserDAO