added couple additional status code responses for error checking
Merge pull request #20 from kevinchabreck/error_checking

added couple additional status code responses for error checking