Hotfix: Added use for hasrole in User model

- Updated .gitignore