check motel_id and return 401 error code.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>