Check if the user is a collaborator
Lint and misc. fixes