added user related functionalities