added end points to get user by id