Added basic authentication checks
Implemented better permissions checks
Sort of updated tests to deal with new permissions
Implemented Basic Validation