Security: introduced user roles and introduced Shiro with custom realm.