added several RESTful functions for check-in app