adding prune command
changing log handler
changing log handler for prod
changing log handler for prod
check permission for staff write operations
added permission helper for groups
better permissions for user writes
proper permissions for scores