return long instead of boolean for viewing item after successfully registering item