implememted get user by id api