add beacon advertising functionality (opening and closing of check-in)