corrected an issue with an abstract and wrong use of abstract types in
add user method