fixed behaviour for exisisting users
moved string to string.h