most user related functions working