Error handling and added valid and message to security handler
Merge pull request #15 from MikeMillerGIS/master

Error handling and added valid and message to security handler