Issue #19 - Throw exceptions on invalid user id and device name formats
GitHub #19 - Add hyphen to allowable character list for device names