Fixes bug with arbitrary user role names
Updates .gitignore with static directory