Add customization of user table fields 'id' and 'username'

idField, usernameField moved to Module class, for customize it in config
Code formatting