fixed before actions on projects so owner can delete but member cannot