fix redirection for admin/staff and also display of error message
Merge pull request #29 from sarahgosago/v1.0.0/1950

fix redirection for admin/staff and also display of error message