Add valid realm checking to ItemController. Also returning a 404 error page if an item does not exist