Added csrf protection to logout form (Also changed privileges in my system)