added rest rule for user id