Added first version of the checkin API
Handled a non existing device in the chekin