added getuserbyid method