added user related functionality