#48. added check for dit permissiomns
#48. removed unused variable
#48 added a few comments and revised wording if messages
Merge pull request #129 from laterpay/feature/48_requirements_check

#48. added check for write permissions