Added optional field locale to User entity (default value 'en').